Skip to content

Add the Nds4j Eclipse style gate without reformatting existing Java. - #4

Merged
turtleisaac merged 2 commits into
mainfrom
cursor/java-style-gate
Nov 10, 2026
Merged

turtleisaac merged 2 commits into
mainfrom
cursor/java-style-gate

Conversation

@turtleisaac

Copy link
Copy Markdown
Owner

Spotless checks only Java files that differ from origin/main. JFormDesigner files are excluded.

Checkstyle checks for LF line endings, a final newline, and no tabs. Main.java, JCheckboxTree.java, JarClassLoader.java, and MultiLineTableHeaderRenderer.java are suppressed because they lack a final newline.

The agent rule leaves a blank line after a for/while loop unless the loop ends the block. No Java source is reformatted.

Same gate as turtleisaac/Nds4j#9.

mvn verify passed locally: 528 tests, 0 failures, 1 skipped. Spotless check passed and Checkstyle reported 0 violations.

Open in Web Open in Cursor 

turtleisaac and others added 2 commits November 10, 2026 00:37
Spotless checks only files that differ from origin/main. JFormDesigner files and generated ANTLR are excluded. Checkstyle checks LF, a final newline, and no tabs, with the files that already miss those grandfathered.

The agent rule says to leave a blank line after a for or while, unless that loop is the last thing in the method.
A depth-1 clone of a matching branch has no origin/main, so Spotless fails. Each library is checked in its own CI.

Co-authored-by: turtleisaac <turtleisaac@users.noreply.github.com>
@turtleisaac
turtleisaac merged commit 71b997a into main Nov 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant